Skip to content

revert(csharp/src/Telemetry): re-enable compile-time JSON serializer context for trace activity#4132

Merged
CurtHagenlocher merged 1 commit into
apache:mainfrom
birschick-bq:revert-4013-dev/birschick-bq/compile-time-serialize-activity
Mar 23, 2026
Merged

revert(csharp/src/Telemetry): re-enable compile-time JSON serializer context for trace activity#4132
CurtHagenlocher merged 1 commit into
apache:mainfrom
birschick-bq:revert-4013-dev/birschick-bq/compile-time-serialize-activity

Conversation

@birschick-bq
Copy link
Copy Markdown
Contributor

Reverts #4013

For some reason, the following exception is being thrown, despite having a fallback type resolver

Exception thrown: 'System.NotSupportedException' in mscorlib.dll
JsonTypeInfo metadata for type 'Apache.Hive.Service.Rpc.Thrift.TStatusCode' was not provided by TypeInfoResolver of type 'Apache.Arrow.Adbc.Telemetry.Traces.Listeners.FileListener.SerializableActivitySerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically. The unsupported member type is located on type 'System.Object'. Path: $.

@birschick-bq birschick-bq changed the title Revert "feat(csharp/src/Telemetry): re-enable compile-time JSON serializer context for trace activity" revert(csharp/src/Telemetry): re-enable compile-time JSON serializer context for trace activity Mar 23, 2026
@CurtHagenlocher CurtHagenlocher merged commit 0f9946d into apache:main Mar 23, 2026
6 of 8 checks passed
@birschick-bq birschick-bq deleted the revert-4013-dev/birschick-bq/compile-time-serialize-activity branch March 23, 2026 20:42
@birschick-bq
Copy link
Copy Markdown
Contributor Author

@CurtHagenlocher - Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants